/**
 * output package name
 */
package com.kingdee.eas.jky.reports.client;

import java.awt.event.*;
import org.apache.log4j.Logger;
import com.kingdee.bos.ui.face.CoreUIObject;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.eas.framework.*;
import com.kingdee.eas.framework.report.util.RptParams;
import com.kingdee.eas.hr.compensation.CmpPeriodInfo;
import com.kingdee.eas.jky.enums.ReportEnum;

/**
 * output class name
 */
public class WeeklyReportFilterUI extends AbstractWeeklyReportFilterUI
{
    private static final Logger logger = CoreUIObject.getLogger(WeeklyReportFilterUI.class);
    
    /**
     * output class constructor
     */
    public WeeklyReportFilterUI() throws Exception
    {
        super();
    }
    public void onLoad() throws Exception {
    	super.onLoad();
    	
    }

    /**
     * output storeFields method
     */
    public void storeFields()
    {
        super.storeFields();
    }

	public RptParams getCustomCondition() {
		RptParams pp = new RptParams();
		if (contReportTime.getValue() != null) {
			String cmpid = ((CmpPeriodInfo) contReportTime.getValue()).getId().toString();
			pp.setString("contReportTime", cmpid);
		}
		
		return pp;
	}

	public void onInit(RptParams arg0) throws Exception {
		
	}

	public void setCustomCondition(RptParams arg0) {
		
	}

}